package com.cqut.forum.service;

import java.util.List;
import java.util.Map;

import com.cqut.forum.entity.User;

public interface ControlService {
	public List<Map<String, Object>> loadUser(String userName,String userPlace,String registerTime,
			int index,int size);

	public List<Map<String, Object>> loadArticle(String articleOwner,String articleTitle,String publishTime,
			int index,int size);
	
	public boolean updateUserRole(List<Integer> users,List<String> roles);
	public boolean pictureTypeHandle(User user,List<Integer> pictures,List<String> types);
	public boolean updateArticleState(int userId,List<Integer> articles,List<String> states);
	public boolean updateWallState(List<Integer> wallS,List<String> states);
	
	public int countSize(String moduleName);
}
